/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package banco;

import DAO.Usuario;
import com.mysql.jdbc.Statement;
import java.util.ArrayList;

/**
 *
 * @author Joao
 */
public class SeminarioDAO {

    private ConexaoBD conexao;
    ArrayList<Usuario> usuarios = new ArrayList<Usuario>();
    public Statement statement;

    public SeminarioDAO(ConexaoBD conexao) {
        this.conexao = conexao;
    }
    
     public void setSeminario(String RG, String titulo, String data){
        
         String SQL_string = "INSERT INTO seminarios (Professor_RG, Titulo, date) VALUES ('" + RG + "'," + "'" + titulo + "'," + "'" + data + "'" +  ")";
         
         conexao.execute(SQL_string);
    }
}
